5468d4d
@@ -146,7 +146,11 @@
public class CamelInvoker implements Invoker, MessageInvoker {
         } else {
             cxfExchange.setPattern(ExchangePattern.InOut);
         }
-        cxfExchange.getIn().setHeader(CxfConstants.OPERATION_NAME, m.getName());
+        if (bop != null && bop.getName() != null) {
+        	cxfExchange.getIn().setHeader(CxfConstants.OPERATION_NAME, bop.getName().getLocalPart());
+        } else {
+        	cxfExchange.getIn().setHeader(CxfConstants.OPERATION_NAME, m.getName());
+        }
         cxfExchange.getIn().setBody(params);
         try {
             cxfConsumer.getProcessor().process(cxfExchange);
